export default {
  data() {
    return {
      pageIndex: 1,
      pageSize: 50,
    };
  },
  methods: {
    handleSizeChange(val) {
      this.pageSize = val;
      this.pageIndex = 1;
      this.getData();
    },
    handleCurrentChange(val) {
      this.pageIndex = val;
      this.getData();
    },
  },
};
